package routes

import (
	"github.com/sentiger/gin-init/app/Http/Controlles"
	"github.com/sentiger/gin-init/app/Http/Middleware"
	Bootstrap "github.com/sentiger/gin-init/bootstrap"
)

func init() {
	v1 := Bootstrap.Router.Group("v1")
	v1.Use(Middleware.AdminAuth())
	{
		v1.GET("/list", (&Controlles.HomeController{}).Index)
	}
}
